
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>大连东丘贸易有限公司</title>
<!-- 样式表 -->
<link rel="stylesheet" type="text/css" href="images/front.css" />

<!-- 脚本表 -->
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
<script type="text/javascript" src="js/dq.js"> </script>

<style>
/* 展示滚动 */
.scroll_dis {
	overflow:hidden;
	width:95%;
	height:153px;
	margin:auto;
}

</style>

</head>

<?php include "include/init.php" ?>

<body>
<div class="body_top">
	<?php include "inc/page_top.php"; ?>
</div>

<div class="body_main">

	<?php include "inc/body_nav.php"; ?>
    <?php include "inc/body_banner.php"; ?>
 
    
	<div class="body_content">
    	<!--  左侧栏目 -->
     	<div style="float:left;width:650px;">
            <div class="left_dis_panel">
                <div class="nav_title">
                    <a href="<?php echo $link_brief ?>">公司简介</a>
                    <div class="hr"></div>
                </div>
                 <img style="float:left;margin:10px;" src="images/company.jpg"/>
                 <?php echo $company_brief ?>
            </div>
            <div class="left_dis_panel">
                <div class="nav_title">
                    <a href="<?php echo $link_product ?>">热销茶叶</a>
                    <div class="hr"></div>
                </div>
                <div id="cheye_scroll" class="scroll_dis">
                  <table cellspacing="0" cellpadding="0" border="0">
                    <tr>
                      <td id="chaye_display">
                        <table>
                          <tr>
                           	<?php
                                $comb_code ="";
                                foreach($list_chaye as $item)
                                {
                                    $comb_code .= "<td>";
                                    $comb_code .= "<table>";    
                                    $comb_code .= "<tr>";   
                                    $comb_code .= "<td>";  
                                    $comb_code .= "<a href='" . $item->link . "'/>";
                                    $comb_code .= "<div align='center'>";    
                                    $comb_code .= "<img src='" . $item->image . "'/>";
                                    $comb_code .= "</div>";
                                    $comb_code .= "<div align='center' style='margin:5px'>";     
                                    $comb_code .= "" . $item->name;  
                                    $comb_code .= "</div>";   
                                    $comb_code .= "</a>"; 
                                    $comb_code .= "</td>"; 
                                    $comb_code .= "</tr>";  
                                    $comb_code .= "</table>";  
                                    $comb_code .= "</td>";  
                                }
								echo  $comb_code;  
                              ?> 
                          </tr>
                         </table>
                       </td>
                      <td id="chaye_move"></td>
                      </tr>
                    </table>
                  </div>
            </div>
            <div class="left_dis_panel">
                <div class="nav_title">
                    <a href="<?php echo $link_product ?>">热销红酒</a>
                    <div class="hr"></div>
                </div>
                <div id="hongjiu_scroll" class="scroll_dis">
                  <table cellspacing="0" cellpadding="0" border="0">
                    <tr>
                      <td id="hongjiu_display">
                        <table>
                          <tr>
							  <?php
                                $comb_code ="";
                                foreach($list_hongjiu as $item)
                                {
                                    $comb_code .= "<td>";
                                    $comb_code .= "<table>";    
                                    $comb_code .= "<tr>";   
                                    $comb_code .= "<td>";  
                                    $comb_code .= "<a href='" . $item->link . "'/>";
                                    $comb_code .= "<div align='center'>";    
                                    $comb_code .= "<img src='" . $item->image . "'/>";
                                    $comb_code .= "</div>";
                                    $comb_code .= "<div align='center' style='margin:5px'>";     
                                    $comb_code .= "" . $item->name;  
                                    $comb_code .= "</div>";   
                                    $comb_code .= "</a>"; 
                                    $comb_code .= "</td>"; 
                                    $comb_code .= "</tr>";  
                                    $comb_code .= "</table>";  
                                    $comb_code .= "</td>"; 
                                }
								echo  $comb_code;  
                              ?>
                            </tr>
                          </table>
                       </td>
                      <td id="hongjiu_move"></td>
                      </tr>
                    </table>
                  </div>
            </div>
        </div>
        
        <!-- 右侧栏目 -->
        <div style="float:right;width:250px;">
        	<div class="right_nav_bar">
                <div class="nav_title">
                    <a href="<?php echo $link_news ?>">公司动态</a>
                    <div class="hr"></div>
                </div>
               <div class="date_link">
                	<ul>
                	 <?php
                        $comb_code = "";       
						foreach($list_news as $item)
						{
							$comb_code .= "<li>";
							$comb_code .= "<a href='" . $item->link . "'/>";
							$comb_code .= $item->name;
							$comb_code .= "</a>"; 
							$comb_code .= "<span>";
							$comb_code .= $item->date;  
							$comb_code .= "</span>";   
							$comb_code .= "</li>"; 
							 
						}
						echo  $comb_code; 
					  ?>
                	</ul>
                </div>
            </div>
            <?php include "inc/body_contact.php"; ?>
            
        </div>
    </div>

</div>

<div class="body_footer">
	<?php include "inc/footer.php"; ?>
</div>
</body>

</html>


<script type="text/javascript">
	var speed=20;
	
	chaye_move.innerHTML=chaye_display.innerHTML ;
	function MarqueeChaye()
	{ 
		if(chaye_move.offsetWidth-cheye_scroll.scrollLeft <=0) 
		{
			cheye_scroll.scrollLeft-=chaye_display.offsetWidth;
		}
		else
		{ 
			cheye_scroll.scrollLeft++;
		} 
	} 
	var MyMarChaye=setInterval(MarqueeChaye,speed) ;
	cheye_scroll.onmouseover=function() 
	{
		clearInterval(MyMarChaye);
	} 
	cheye_scroll.onmouseout=function() 
	{
		MyMarChaye=setInterval(MarqueeChaye,speed);
	}
	
	
	hongjiu_move.innerHTML=hongjiu_display.innerHTML ;
	function MarqueeHongjiu()
	{ 
		if(hongjiu_move.offsetWidth-hongjiu_scroll.scrollLeft <=0) 
		{
			hongjiu_scroll.scrollLeft-=hongjiu_display.offsetWidth;
		}
		else
		{ 
			hongjiu_scroll.scrollLeft++;
		} 
	} 
	var MyMarHongjiu=setInterval(MarqueeHongjiu,speed) ;
	hongjiu_scroll.onmouseover=function() 
	{
		clearInterval(MyMarHongjiu);
	} 
	hongjiu_scroll.onmouseout=function() 
	{
		MyMarHongjiu=setInterval(MarqueeHongjiu,speed);
	}
  </script>


